package com.ttms.dao;
import com.ttms.pojo.Play;

import java.util.List;

public interface PlayDao {
    public int addPlay(Play play);

    public int deletePlayById(Integer id);

    public int updatePlay(Play play);

    public Play queryPlayById(Integer id);

    public List<Play> queryPlays();

    Integer queryForPageTotalCount();

    List<Play> queryForPageItems(int begin, int pageSize);

    List<Play> queryPlayByName(int begin, int pageSize, String name) ;

    Integer queryPlayCountByName(String play_name);
}
